<?php

use Welcomescreen\Agavi\Action;

class Backend_Visits_ListAction extends Action\BackendBaseAction {
	public function executeRead(AgaviWebRequestDataHolder $rd) {
		$visits = $this->getContext()->getModel('VisitManager')->getVisits();
		$this->setAttribute('visits', $visits);
		
		return 'Success';
	}
	
	public function isSecure() {
		return true;
	}
}

?>